package com.woniu.cinema.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 影片和影片类型对应对象 tb_movie_type_rel
 * 
 * @author yy
 * @date 2021-04-16
 */
public class MovieTypeRel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long movieTypeId;

    /** 影片id */
    @Excel(name = "影片id")
    private Long movieId;

    /** 影片类型id */
    @Excel(name = "影片类型id")
    private Long typeId;

    public void setMovieTypeId(Long movieTypeId) 
    {
        this.movieTypeId = movieTypeId;
    }

    public Long getMovieTypeId() 
    {
        return movieTypeId;
    }
    public void setMovieId(Long movieId) 
    {
        this.movieId = movieId;
    }

    public Long getMovieId() 
    {
        return movieId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("movieTypeId", getMovieTypeId())
            .append("movieId", getMovieId())
            .append("typeId", getTypeId())
            .toString();
    }
}
